{php include pubTemplate("header")}

<div class="container">

    <nav aria-label="breadcrumb">
        <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="{SITE_URL}">首页</a></li>
            <li class="breadcrumb-item"><a href="{tsUrl('group')}">{$TS_APP['appname']}</a></li>
            <li class="breadcrumb-item"><a href="{tsUrl('group','show',array('id'=>$strGroup['groupid']))}">{$strGroup[groupname]}</a></li>
            <li class="breadcrumb-item active" aria-current="page">小组设置</li>
        </ol>
    </nav>

    <div class="card">
        <div class="card-body">

{template edit_xbar}


<div class="row">
<div class="col-md-8">


<form method="POST" action="{SITE_URL}index.php?app=group&ac=edit&ts=icondo&groupid={$groupid}" enctype="multipart/form-data" >


  
  <div class="form-group">
    <label>小组图标：</label>
    <div>
     <img class="rounded" src="{$strGroup['photo']}" width="100">
    </div>
  </div>
  
  <div class="form-group">
    <label>选择图片：</label>
    <div>
     <input type="file" name="photo">
    </div>
  </div>



  <hr>

  <div class="form-group">
    <label>背景图片：</label>
    <div>
     <img class="rounded" src="{$strGroup['bgphoto']}" width="200">
    </div>
  </div>
  
  <div class="form-group">
    <label>选择背景图片：</label>
    <div>
     <input type="file" name="bgphoto">
    </div>
  </div>

  <hr />
  
 <div class="form-group">
    <div >
	<input type="hidden" name="groupid" value="{$strGroup[groupid]}" />
      <button type="submit" class="btn btn-sm btn-info">点击修改</button>
        <a class="btn btn-sm text-black-50" href="{tsUrl('group','show',array('id'=>$strGroup[groupid]))}">返回小组</a>
    </div>
  </div>


</form>


</div>
<div class="col-md-4"></div>
</div>




</div>
</div>



</div>
{php include pubTemplate("footer")}